﻿package frEngine.animateControler.transformControler
{
    import baseEngine.core.*;
    import baseEngine.modifiers.*;
    import frEngine.animateControler.keyframe.*;

    public class ScaleYControler extends Modifier
    {

        public function ScaleYControler()
        {
            return;
        }// end function

        override protected function getBaseValue(param1:Pivot3D) : Object
        {
            return param1.scaleY;
        }// end function

        override public function get type() : int
        {
            return AnimateControlerType.ScaleY;
        }// end function

        override protected function setTargetProperty(param1) : void
        {
            targetObject3d.scaleY = Number(param1);
            return;
        }// end function

        override protected function calculateFrameValue(param1:int) : void
        {
            super.calculateFrameValue(param1);
            if (_cache[param1] == 0)
            {
                _cache[param1] = 0.0001;
            }
            return;
        }// end function

    }
}
